package com.tedu.order.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class OrderVO {
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("用户id")
    private Long userId;
    @ApiModelProperty("总金额")
    private BigDecimal totalPrice;
    @ApiModelProperty("订单状态")
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty("创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty("最后更新时间")
    private Date updateTime;
    @ApiModelProperty("配送地址")
    private String deliveryAddress;
    @ApiModelProperty("联系电话")
    private String contactPhone;
}
